package other.getech.oa.service.abstracts;

import com.rkhd.platform.sdk.creekflow.approvalevent.ApprovalEvent;
import com.rkhd.platform.sdk.creekflow.approvalevent.ApprovalEventResponse;

/**
 * 需求:抽象类
 */
public abstract class AbstractApprovalEvent implements ApprovalEvent {

    protected ApprovalEventResponse resp(boolean success, String msg) {
        ApprovalEventResponse response = new ApprovalEventResponse();
        response.setSuccess(success);
        response.setMsg(msg);
        return response;
    }

}
